import request from '@/utils/request'

export function getCarousel(data) {
  return request({
    url: '/admin/carousel/',
    method: 'get',
    data
  })
}

export function changeCarousel(data) {
  return request({
    url: '/admin/carousel/change',
    method: 'post',
    data
  })
}

export function deleteCarousel(data) {
  return request({
    url: '/admin/carousel/delete',
    method: 'post',
    data
  })
}

